package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.time.DateTimeException;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * @author PRE_38965
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EntityScan
public class Employees {
   private int employeeId;
   private String firstName;
   private String lastName;
   private String email;
   private String phoneNumber;
   private String hireDate;
   private String jobId;
   private Double salary;
   private Double commissionPct;
   private Integer managerId;
    private Integer departmentId;
   private Employees leader;
   /**
    * 员工下属
    */
   private List<Employees> employeeList;

}
